package com.ruoyi.bpm.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单信息对象 bpm_order
 * 
 * @author pjq
 * @date 2025-03-17
 */
public class BpmOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    private Long orderId;

    /** 客户id */
    @Excel(name = "客户id")
    private Long clientId;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 数量 */
    @Excel(name = "数量")
    private Long orderNum;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal orderAmount;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderStatus;

    /** 物流状态 */
    @Excel(name = "物流状态")
    private String orderDeliveryStatus;

    /** 物流起点 */
    @Excel(name = "物流起点")
    private String orderDeliveryStart;

    /** 物流终点 */
    @Excel(name = "物流终点")
    private String orderDeliveryEnd;

    /** 下单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderTime;

    /** 预计送达时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计送达时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderEstimatedDeliveryTime;

    /** 送达时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "送达时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderDeliveryTime;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setClientId(Long clientId) 
    {
        this.clientId = clientId;
    }

    public Long getClientId() 
    {
        return clientId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setOrderAmount(BigDecimal orderAmount) 
    {
        this.orderAmount = orderAmount;
    }

    public BigDecimal getOrderAmount() 
    {
        return orderAmount;
    }
    public void setOrderStatus(String orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() 
    {
        return orderStatus;
    }
    public void setOrderDeliveryStatus(String orderDeliveryStatus) 
    {
        this.orderDeliveryStatus = orderDeliveryStatus;
    }

    public String getOrderDeliveryStatus() 
    {
        return orderDeliveryStatus;
    }
    public void setOrderDeliveryStart(String orderDeliveryStart) 
    {
        this.orderDeliveryStart = orderDeliveryStart;
    }

    public String getOrderDeliveryStart() 
    {
        return orderDeliveryStart;
    }
    public void setOrderDeliveryEnd(String orderDeliveryEnd) 
    {
        this.orderDeliveryEnd = orderDeliveryEnd;
    }

    public String getOrderDeliveryEnd() 
    {
        return orderDeliveryEnd;
    }
    public void setOrderTime(Date orderTime) 
    {
        this.orderTime = orderTime;
    }

    public Date getOrderTime() 
    {
        return orderTime;
    }
    public void setOrderEstimatedDeliveryTime(Date orderEstimatedDeliveryTime) 
    {
        this.orderEstimatedDeliveryTime = orderEstimatedDeliveryTime;
    }

    public Date getOrderEstimatedDeliveryTime() 
    {
        return orderEstimatedDeliveryTime;
    }
    public void setOrderDeliveryTime(Date orderDeliveryTime) 
    {
        this.orderDeliveryTime = orderDeliveryTime;
    }

    public Date getOrderDeliveryTime() 
    {
        return orderDeliveryTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("clientId", getClientId())
            .append("productId", getProductId())
            .append("orderNum", getOrderNum())
            .append("orderAmount", getOrderAmount())
            .append("orderStatus", getOrderStatus())
            .append("orderDeliveryStatus", getOrderDeliveryStatus())
            .append("orderDeliveryStart", getOrderDeliveryStart())
            .append("orderDeliveryEnd", getOrderDeliveryEnd())
            .append("orderTime", getOrderTime())
            .append("orderEstimatedDeliveryTime", getOrderEstimatedDeliveryTime())
            .append("orderDeliveryTime", getOrderDeliveryTime())
            .toString();
    }
}
